

void GameUpdate() throws Exception
{
	StateMachine_Update();
	ResetKeys();
}
/*
static void UpdateSoftkey()
{
	if(softkeyLeft && (s_iReleasedKey == CanvasKeys.SK_LEFT))
	{
	}
	if(softkeyRight && (s_iReleasedKey == CanvasKeys.SK_RIGHT))
	{
		switch(s_iStateCurrent)
		{
			case STATE_MAINMENU:
				_menu_item_selected = TEXT.MENU_EXIT;
				Update_MainMenu_Selected();
				break;
			case STATE_SELECTLANGUAGE:
				_menu_item_selected = TEXT.MENU_BACK;
				Update_LangMenu_Selected();
			default:
				break;
		}
	}
}
*/